package lockmanager;

import java.util.List;

/**
 * This class is the general interfaces for the resouce pool
 * @author gzhu
 *
 */

public interface ResourcePool {
	
	public int getPoolSize();
	
	public int getContentionSize();
	
	public int getCapacity();
	
	public void setResurceList(List<? extends Object> resource);
	
	public List<? extends Object> getResouceList();
	
	public Object get();
	
	public boolean put(Object element);
	

}
